<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Audio-reactive visual with Three.js</title>
  <link rel="stylesheet" href="./index.scss">
</head>
<body>
  <div id="app"></div>

  <button id="audio-btn">
    <svg id="audio-btn-icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 100 100">
      <path fill="#fff" d="M79.646 43.955c4.627 2.702 4.627 9.388 0 12.09L33.779 82.824c-4.666 2.724-10.529-.642-10.529-6.045V23.22c0-5.403 5.863-8.77 10.53-6.045l45.866 26.779Z"/>
    </svg>

    <span id="audio-btn-label">
      Load music
    </span>

    <span id="audio-btn-loader"></span>
  </button>

  <div id="credits">
    Audio-reactive visual created by <a href="https://www.francescomichelini.com/" target="_blank" rel="noopener">Francesco Michelini</a> using <a href="https://threejs.org/" target="_blank" rel="noopener">ThreeJS</a>.<br>
    Check out the <a href="https://github.com/kekkorider/threejs-audio-reactive-visual" target="_blank" rel="noopener">GitHub repository</a>.<br>
    Music: "Meet and Fun!" by <a href="https://www.youtube.com/channel/UC34Wh4ysdP50H-ThbZFFfsA" target="_blank" rel="noopener">Ofshane</a>
  </div>

  <script src="./index.js"></script>
</body>
</html>
